package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/30 0030.
 */

public class CartOrderlist {


    /**
     * code : 1
     * msg : 返回成功
     * data : [{"number":"201809041447248040036","allmoney":136,"status":5,"list":[{"id":482,"sname":"丙酸氟替卡松鼻喷雾剂","money":68,"num":2,"img":"/upload/goods/201808/15356956263038.jpg"}],"allnum":2,"stname":"北京人民大学店铺"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    @Override
    public String toString() {
        return "CartOrderlist{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString() +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }


    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "number='" + number + '\'' +
                    ", allmoney=" + allmoney +
                    ", status=" + status +
                    ", allnum=" + allnum +
                    ", stname='" + stname + '\'' +
                    ", list=" + list +
                    '}';
        }

        /**
         * number : 201809041447248040036
         * allmoney : 136
         * status : 5
         * list : [{"id":482,"sname":"丙酸氟替卡松鼻喷雾剂","money":68,"num":2,"img":"/upload/goods/201808/15356956263038.jpg"}]
         * allnum : 2
         * stname : 北京人民大学店铺
         */

        private String number;
        private float allmoney;
        private int status;
        private int allnum;
        private String stname;
        private List<ListBean> list;

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public float getAllmoney() {
            return allmoney;
        }

        public void setAllmoney(float allmoney) {
            this.allmoney = allmoney;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getAllnum() {
            return allnum;
        }

        public void setAllnum(int allnum) {
            this.allnum = allnum;
        }

        public String getStname() {
            return stname;
        }

        public void setStname(String stname) {
            this.stname = stname;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 482
             * sname : 丙酸氟替卡松鼻喷雾剂
             * money : 68
             * num : 2
             * img : /upload/goods/201808/15356956263038.jpg
             */

            private int id;
            private String sname;
            private float money;
            private int num;
            private String img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSname() {
                return sname;
            }

            public void setSname(String sname) {
                this.sname = sname;
            }

            public float getMoney() {
                return money;
            }

            public void setMoney(float money) {
                this.money = money;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }
    }
}
